Re:

Поиск
Список
Период
Сортировка
От Herouth Maoz
Тема Re:
Дата
Msg-id l03130300b381a2255465@[147.233.159.109]
обсуждение исходный текст
Ответ на ...  (Piotr Stelmaszyk <kelman@fanthom.math.put.poznan.pl>)
Ответы Re[2]: drop table 'text'  (Piotr Stelmaszyk <kelman@fanthom.math.put.poznan.pl>)
Re[2]: drop table 'text'  (Piotr Stelmaszyk <kelman@fanthom.math.put.poznan.pl>)
Re[2]: drop table 'text'  (Piotr Stelmaszyk <kelman@fanthom.math.put.poznan.pl>)
Re[2]: drop table 'text'  (Piotr Stelmaszyk <kelman@fanthom.math.put.poznan.pl>)
Список pgsql-interfaces
At 18:49 +0300 on 07/06/1999, Piotr Stelmaszyk wrote:


> what may be the problem? what does it mean "$1"? i don't have
> any function arguments.
>
> any ideas? thanx.

The problem is that the parameter passed to "drop table" should not be a
string but a table. You don't write
  DROP TABLE 'my_table',

but
  DROP TABLE my_table.

So you are passing it the wrong kind of object. You should pass a table,
not the name of a table. There is a difference.

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma




В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Piotr Stelmaszyk
Дата:
Сообщение: ...
Следующее
От: "Andre Carvalho"
Дата:
Сообщение: pgTcl problem...